<% if @message.message_attachments.size > 0 %>
  <hr />
  <h3>添付ファイル</h3>
<% end %>

<p>
  <% @message.message_attachments.each do |attachment| %>
    <%= view_attachment_file(attachment,
                             portal_message_attachment_path(attachment),
                             portal_message_attachment_path(attachment, :thumb => true)) %>　
  <% end %>
</p>

